package com.JFapp.service;

import com.JFapp.domain.entity.Performance;
import com.JFapp.domain.entity.Repair;
import com.JFapp.domain.entity.ResponseResult;
import com.JFapp.domain.vo.PerformanceVo;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 绩效表(Performance)表服务接口
 *
 * @author makejava
 * @since 2024-02-20 19:46:21
 */
public interface PerformanceService extends IService<Performance> {

    ResponseResult selectPerformanceByUid(Integer pageNum, Integer pageSize);


    ResponseResult selectRanking(Long start, Long end);

    void addRecords(Repair repair);

    ResponseResult changePerformance(PerformanceVo performanceVo);

    ResponseResult changePerformanceAudit(Performance performance, Integer audit);

    ResponseResult getAuditPerformance(Integer pageNum, Integer pageSize);

    ResponseResult selectPerformanceByName(String userName, Integer pageNum, Integer pageSize);

    ResponseResult getAuditPerformanceByUserId(Integer pageNum, Integer pageSize);

    ResponseResult deleteAuditPerformance(Long performanceId);

    ResponseResult updateChangePerformance(PerformanceVo performanceVo);
}
